﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cungcaulaodong.aspx.cs" Inherits="web_pages_cungcaulaodong" %>

<script type="text/javascript"> 
	
        function scrollDiv(object){
	        var flag = true;
	        var a, b;
	        a = document.getElementById(object).scrollTop; 
	        if (document.getElementById(object).scrollTop == 0){
		        flag=true;
	        }
         
	        if (flag==true){
		        document.getElementById(object).scrollTop = document.getElementById(object).scrollTop+1;		
		        b = document.getElementById(object).scrollTop; 
	        }
	        if (a == b){
		         flag = (flag == true)? false:true;
	        }
         
	        if (flag ==false ){
		        document.getElementById(object).scrollTop = 0;
	        }
        }
         
         
        function scrollDivForThongKe(object)
         
        {
        var flag = true;
         
        var a, b;
         
	        a = object.scrollTop 
         
	        if (object.scrollTop == 0){
         
		        flag=true;
         
	        }
         
	        if (flag==true){
         
		        object.scrollTop = object.scrollTop+1;		
         
		        b = object.scrollTop 
         
	        }
         
	        if (a == b){
         
		        flag = (flag == true)? false:true
         
	        }
         
	        if (flag ==false ){
			        object.scrollTop = 0;
	        }
        }
        </script>
<style> 
    .SubHead {
    font-weight:bold;
    padding-bottom:5px;
    }
    .SubHead a {
    color:#4282db;
    }
    .SubHead a:hover {
    color:#000;
    }
    .Description {
    color:#4282db;
    }
    .View {
    color:#4282db;
    font-size:11px;
    }
    .View:hover {
    color:red;
    }
    .list_sub_detail td {
    border:1px solid #ccc;
}
</style>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Trung tam gioi thieu viec lam Tinh Binh Duong</title> 
</head> 
 
<body onload="iTimerdivResume= setInterval('scrollDivForThongKe(divResume)', 120);iTimerdivJobBoard= setInterval('scrollDivForThongKe(divJobBoard)', 120);">
    <form id="form1" runat="server">
        <div style="text-align:center;font-weight:bold;line-height:30px;font-size:16px;background:#4282db;color:#fff;">  
	        BẢNG CUNG CẦU LAO ĐỘNG<br> 
			<%if(messDate != ""){%>
	        Thời gian từ : <%=messDate.Split(';')[0]%> đến <%=messDate.Split(';')[1]%> <br>
			<%}%>
			<%if(messSan!=""){%>
	        Và thuộc sàn giao dịch: <%=messSan%>
			<%}%>
        </div>     
        <%--CENTER--%>
        <div id="cungcau_main" style="text-align:center;margin:auto;width:100%;">
            <%if(chk){//Neu chi co 1 block %>
				<div id="divResume" style="align:top; overflow:scroll; overflow-y:hidden; overflow-x:hidden; height:540px;width: 100%; text-align:left ;" onmouseover="this.style.overflowY='scroll';clearInterval(iTimerdivResume)" onmouseout="this.style.overflowY='hidden';iTimerdivResume= setInterval('scrollDivForThongKe(divResume)', 120);"> 
                <asp:Panel ID="cungcau_center" runat="server" Height="100%" Width="100%">
                </asp:Panel>
				</div>
            <%}else{ %>
            <table>
                <tr><td width="50%">
					<div id="divJobBoard" style="align:top; overflow:scroll; overflow-y:hidden; overflow-x:hidden; height:601px;width: 100%; text-align:left ;"> 
                    <asp:Panel ID="cungcau_left" runat="server" Height="100%" Width="100%">
                    </asp:Panel>
					</div>
                </td>
                <td width="50%">
					<div id="divResume" style="align:top; overflow:scroll; overflow-y:hidden; overflow-x:hidden; height:540px;width: 100%; text-align:left ;" onmouseover="this.style.overflowY='scroll';clearInterval(iTimerdivResume)" onmouseout="this.style.overflowY='hidden';iTimerdivResume= setInterval('scrollDivForThongKe(divResume)', 120);"> 
                    <asp:Panel ID="cungcau_right" runat="server" Height="100%" Width="100%">
                    </asp:Panel>
					</div>
                </td></tr>
            </table>
            <%} %>
        </div>
    </form>
</body> 
</html> 
 
 
 